package edu.hcmus.sow.web.user;

import org.hibernate.validator.constraints.NotEmpty;

public class GroupForm {
   private Integer id;
   @NotEmpty(message = "Group name must not be blank.")
   private String name;
   private String description;

   public GroupForm() {

   }

   public GroupForm(Integer id, String name, String description) {
      this.id = id;
      this.name = name;
      this.description = description;
   }

   public Integer getId() {
      return id;
   }

   public void setId(Integer id) {
      this.id = id;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getDescription() {
      return description;
   }

   public void setDescription(String description) {
      this.description = description;
   }
}
